package com.demo.service;

import com.demo.dto.CommentReplyFormDTO;
import com.demo.dto.Result;
import com.demo.entity.CommentReply;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Zeng
 * @since 2022-03-23
 */
public interface CommentReplyService extends IService<CommentReply> {

    Result<CommentReply> postCommentReply(CommentReplyFormDTO replyFormDTO);

    Result<CommentReply> deleteCommentReply(Integer cmReplyId);

    Result<List<CommentReply>> getReplyListByCommentId(Integer commentId, Integer current);
}
